package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * 套餐服务
 */

public interface SetMealService {


    void add(Setmeal setmeal , Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    List<Setmeal> getAllSetMeal();

    Setmeal findById(int id);

    List<Integer> findCheckGroupIdsBySetMealId(int id);

    void delete(int id);

    List<Map<String,Object>> findSetmealCount();

    Map<String, Object> getSetMealIncome(String beginDate, String endDate);

}
